package team.pwy.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of = {"id"})
public class PwyViewingHistory implements Serializable {

    private Integer id;
    private Integer userId;
    private Integer movieId;
    private String movieTittle;
//    private String movieSynopsis;
    private String posterImg;
    private String director;
    private String duration;
    private double score;
    private Date createTime;
}
